//
//  PlaySoundUtil.h
//  OMS
//
//  Created by goldeneye on 14/10/19.
//  Copyright (c) 2014年 ShangHai Goldeneye Techonology Co.,Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>
#import <AVFoundation/AVFoundation.h>

@interface PlaySoundUtil : NSObject

/**
  *播放音乐文件
  */
+(BOOL)playMusic:(NSString *)filename;

/**
  *暂停播放
  */
+(void)pauseMusic:(NSString *)filename;

/**
  *播放音乐文件
  */
+(void)stopMusic:(NSString *)filename;

/**
  *播放音效文件
  */
+(void)playSound:(NSString *)filename;

/**
  *销毁音效
  */
+(void)disposeSound:(NSString *)filename;

//销毁所有音效
+(void)disposeAllSound;

@end
